package org.example.spring.cycle.service;

import cn.hutool.extra.spring.SpringUtil;

/**
 * 业务服务工厂
 * 解决业务服务之间互相引用的循环依赖问题
 *
 * @author hzq
 * @date 2022/4/15 22:56
 */
public class ServiceFactory {

    public final static OrderService orderService = SpringUtil.getBean(OrderService.class);

    public static final UserService userService = SpringUtil.getBean(UserService.class);
}
